Skip to content

ci: add qcom-distro kas configurations#148

Draft
quaresmajose wants to merge 15 commits intoqualcomm-linux:mainfrom
quaresmajose:meta-qcom-ci-v2
Draft

ci: add qcom-distro kas configurations#148
quaresmajose wants to merge 15 commits intoqualcomm-linux:mainfrom
quaresmajose:meta-qcom-ci-v2

Conversation

@quaresmajose
Copy link

No description provided.

To get CI going on meta-qcom-distro, copy over the meta-qcom
.github/workflows folder revision 67fd9f0c1 [1].

[1] 67fd9f0c1 firmware-qcom-boot-iq-x7181: upgrade to 00006.0 (#1480)

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We can discard the scheduled jobs, nightly-build and monthly,
that are already being carried out at meta-qcom ci.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
The tests workflows are not ready and will be proposed later after the first phase.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
The yocto-run-checks step needs adaptations that are not yet complete.
We will turn it off since this does not prevent the existing features from working.
It will be proposed in the next step.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We will reuse the actions from the meta-com repository to avoid code duplication.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
The branch name here is main and not master like in meta-qcom.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We will exercise all qcom-distro distributions variants here.
The poky-altcfg is more appropriate for testing the Yocto distributions,
and are already tested in the meta-qcom layer.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
This change is intended only to have a functional build with minimal modifications and
is temporary; it will be reverted in subsequent iterations of the distro ci integration.

We need the primary repository to be meta-qcom so we can keep using its github/actions
with minimal changes. To do this, we'll first checkout meta-qcom as the primary
repository and then meta-qcom-distro inside it.

The last part we need for this is the new kas config which will allow us to change the
layer structure used by kas here. This configuration has the necessary changes for
move the meta-qcom-distro layer as well as the differences of meta-qcom layer.
Instead of meta-qcom-distro being an external layer like in meta-qcom ci,
it becomes a internal layer of meta-qcom here.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
…ride"

This reverts commit 9dc37bf.

The above commit is wrong

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
This reverts commit 7159b79.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
@quaresmajose quaresmajose force-pushed the meta-qcom-ci-v2 branch 2 times, most recently from 35e8669 to 9a8dd49 Compare February 6, 2026 16:51
Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
@quaresmajose
Copy link
Author

I have tried to use 2 repos:

          KAS_CI_BASE=${GITHUB_WORKSPACE}/meta-qcom/ci/base.yml
          KAS_CI_DISTRO=${GITHUB_WORKSPACE}/meta-qcom-distro/ci/qcom-distro.yml
          ${KAS_CONTAINER} lock --update ${KAS_CI_BASE}:${KAS_CI_DISTRO}

and it fail!
not possible to use kas config files concatenated on command line from diferent repositories

2026-02-06 16:57:27 - ERROR    - All concatenated config files must belong to the same repository or all must be outside of versioning control

https://github.com/qualcomm-linux/meta-qcom-distro/actions/runs/21758698187/job/62776101680?pr=148

@ricardosalveti
Copy link
Contributor

I have tried to use 2 repos:

          KAS_CI_BASE=${GITHUB_WORKSPACE}/meta-qcom/ci/base.yml
          KAS_CI_DISTRO=${GITHUB_WORKSPACE}/meta-qcom-distro/ci/qcom-distro.yml
          ${KAS_CONTAINER} lock --update ${KAS_CI_BASE}:${KAS_CI_DISTRO}

and it fail! not possible to use kas config files concatenated on command line from diferent repositories

2026-02-06 16:57:27 - ERROR    - All concatenated config files must belong to the same repository or all must be outside of versioning control

https://github.com/qualcomm-linux/meta-qcom-distro/actions/runs/21758698187/job/62776101680?pr=148

Maybe by including them as described at https://kas.readthedocs.io/en/latest/userguide/project-configuration.html#including-configuration-files-from-other-repos?

@quaresmajose
Copy link
Author

Maybe by including them as described at https://kas.readthedocs.io/en/latest/userguide/project-configuration.html#including-configuration-files-from-other-repos?

Yeah look like is the only valid option to include files from other repos but we are abusing the command line in our ci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants